﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _1.PrintingName
{
    class PrintingName
    {
        static void AskName()
        {
            Console.WriteLine("What is your name:");
            String nameOfUser= Console.ReadLine();
            PrintName(nameOfUser);
        }
        static void PrintName (string name)
        {
            Console.WriteLine("Hello, {0}!",name);
        }
        static void Main(string[] args)
        {
            AskName();
        }
    }
}
